home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Network Support Library
/
RoseWare - Network Support Library.iso
/
logbatch
/
gledt.exe
/
GLEDIT.HST
< prev
next >
Wrap
Text File
|
1993-09-29
|
8KB
|
181 lines
GLEDIT Version 2.1 Modifications:
Please submit your ideas. If you have problems that I do not encounter, the
only way to get them fixed is to let me know about them.
1. Some uploaded descriptions of GLEDIT listed the version number as 1.0
when, in fact, that version was 2.0, as reflected in the help screen.
2. It has been requested that GLEDIT provide a way of making the changes
without prompting so that the program can be executed unattended.
Although this could be very dangerous, I have provided an option to
accomplish this. If you use it, please be very careful that the
command line is entered correctly and that only the files you want
modified will in fact be modified. The only way to stop the program
once it starts will be with CTRL-BREAK. Even then, a file could end
up damaged, though not likely. Make sure you have BREAK=ON in your
CONFIG.SYS file.
I have added a /Y switch which automatically replies Y to all prompts.
3. So that a quote (") can exist in the search string or the replace string,
I accept \q (not \Q) in place of the quote in within the string.
4. Due to popular demand, I eliminated the wait time for the reminder menu.
Version 2.1a:
Version 2.1a is identical to version 2.1 except fo the registration
reminder screen. The reminder screen and documentation have been updated to
instruct users on how to register GLEDIT via CompuServe's SWREG section.
The price has been increased to $12 to help recover more of the cost of
registering users. International mail and CIS registration make it hard to
profit on a $10 fee. Parity Solutions still aims to keep the quality up and
the price as low as possible.
GLEDIT version 2.2 modifications:
1. Added a /R switch which will allow GLEDIT to recurse through all
subdirectories below the current or specified subdirectory.
2. Added a [TEST MODE] indicator to the prompt when you are executing
with the /T switch on. Previous releases also automatically invoked the
/Y switch when in test mode. This no longer happens.
3. Due to the fact that Borland C++ removes the quotes on a command line
parameter before passing it to me, I interpreted an replace string that
started with a forward slash as a switch. I now check for the entire
switch string (i.e. "/N") rather than assuming anything starting with
a slash was a switch. This still prevents you from being a ble to use
a valid switch as your replace string. You can use a valid switch
within a replace string as long as it is preceeded or follwed by at
least one other character or space.
GLEDIT versions 2.1 thru 2.2 were distributed under the name GEDIT. The
GLEDIT name officially was added with release 2.3.
Modifications for version 2.3 of GLEDIT:
1. Added the /D switch to allow a string to be deleted instead of being
replaced with another string.
2. Changed the program name from GEDIT.EXE to GLEDIT.EXE. This was done
at the request of Public Brand Software who discovered another program
they distribute called GEDIT. This will avoid possible confusion to
people who may own both products.
3. Formerly you were given no option to terminate the search/edit function
other than to press CTRL-BREAK. The "Press any key to continue..."
message now reads "Press ESC to exit, any other key to continue...".
The functionality is obvious from the message.
4. For ease of conversion for registered users of GEDIT, the GEDIT.SER
file is recognized as well as the GLEDIT.SER file.
Modifications for version 2.3a of GLEDIT:
1. GLEDIT v2.3a is identical to version 2.3. Only the documentation has
been updated. The documentation erroneously instructed users to
use product #753 on SWREG for registration. The correct product ID is
754.
Modifications for version 2.4 of GLEDIT:
1. Added the ability to abort searching at any time by pressing the ESC
key, rather than having to use BREAK.
2. If the directory was specified in the search file specification, the
current directory was searched rather than the specified directory.
This has been fixed.
3. Due to user request, the following DOS ERRORLEVEL return codes are now
returned from GLEDIT:
0 - One or more matches found. Replaced or not replaced has no bearing.
1 - No matches found in any files searched.
2 - No files found matching the search file specification.
3 - Invalid path specified in serach file specification.
4 - Directory recursion error. Please report to Parity Solutions.
Should never happen.
255 - User abort. ESC key pressed. Does not detect BREAK key.
Modifications to GLEDIT version 2.5
1. Under certain conditions, an erroneous "Invalid path" error message
could appear. Corrected.
2. Sometimes the same file was edited twice in a single pass. Corrected.
3. If you specified a root directory and filename (i.e. D:\*.TXT) as the
target filespec, sometimes GLEDIT reported that D:\ was an invalid path.
Also, if you specified recursion (/R), sometimes you would get a message
saying "Unable to return to D:". This problem with root directories
has been corrected.
4. Pressing the ESC key did not terminate execution if recursion (/R) was
specified. Corrected.
5. Added the capability to terminate using the ESC key in response to the
"Replace with the following line? (Y/N)" prompt.
6. Instead of saying "n records replaced." after a test mode run, GLEDIT
now reports "n records would have been replaced". A little less scary
to the user.
7. Added escape sequences to allow substituion of another character for
certain control characters.
8. Modified slightly the screen output when /T and /Y are used. Instead
of the replace prompt, a string is displayed saying what was changed
(/Y) or what would have been changed (/T).
9. We are moving. Added new address to registration screen and documen-
tation.
Modifications to GLEDIT version 2.6
1. Sometimes scroll mode was invoked when not requested. Fixed.
2. Sometimes, when recursing directories, you could not exit from the search
with the escape key. Fixed.
3. Use of the /d switch instead of replacing with "" caused a lot of user
problems because they want to use "" to delete a matching string and do
not notice the function of the /d switch.
The problem was that Borland's C++ input parser did not pass the ""
parameter to me, so GLEDIT was unaware of it's presence in the command
line.
To remedy this, I have written my own command line parser that gets the
raw command line from the Program Service Prefix (PSP). I now see the
cmmand line just as you typed it. This allows me to process the "" replace
string as a request to delete matching search strings. This is more
in line with comman practice.
For compatibility with previous releases, the /d switch is still recog-
nized and processed, but is no longer documented. "" is now the accepted
method for deleting a string.
4. GLEDIT did not recognize the last record in a file if that record did not
not end with a carraige return and line feed (CRLF) combination. Fixed.
NOTE- Since version 2.6 contains an entirely new command line parser routine,
please note an irregularities or errors and report them to me as soon
as possible so that they can be corrected. I have tried to test it
very thoroughly, but something can always get by. Thanks.
Version 2.6a:
Modified to use pre-compiled subfunctions from a library, rather than
included source. This has no bearing on GLEDIT's functionality.